xen/arm: p2m: Use typesafe gfn in p2m_mem_access_radix_set
authorJulien Grall <julien.grall@arm.com>
Thu, 15 Sep 2016 11:28:20 +0000 (12:28 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 28 Sep 2016 01:13:44 +0000 (18:13 -0700)
commite22ac0e000a8366b771e524c1f22fe1924348fe9
tree9dc94161cb85b4715247d22f52aa27444b6a31c1
parentae0275121ee8e8321960f988756f5407a452f657
xen/arm: p2m: Use typesafe gfn in p2m_mem_access_radix_set

p2m_mem_access_radix_set is expecting a gfn in a parameter. Rename the
parameter 'pfn' to 'gfn' to match its content and use the typesafe gfn
to avoid possible misusage.

Also rename the parameter to gfn to match its content.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Tested-by: Tamas K Lengyel <tamas@tklengyel.com>
xen/arch/arm/p2m.c